package com.jk.smartelderlycare.dto;

import cn.afterturn.easypoi.excel.annotation.Excel;
import cn.afterturn.easypoi.excel.annotation.ExcelTarget;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.ToString;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

@Data
@ToString
@ExcelTarget(value = "视频信息")  //表头
@TableName(value = "sys_video")
public class sysVideo implements Serializable {
    private static final long serialVersionUID = 3749864193989357292L;
    @TableId(value = "video_id",type = IdType.AUTO)
    @Excel(name = "编号")
    private Long videoId;
    @Excel(name = "视频名称")
    private String videoName;

    private String videoLabel;
    @Excel(name = "点赞")
    private String videoLike;
    @Excel(name = "收藏")
    private String videoCollection;
    @Excel(name = "分享")
    private String videoShare;
    @Excel(name = "评论")
    private String videoComments;
    @Excel(name = "更新人")
    private String modifyUser;
    @Excel(name = "修改时间", exportFormat = "yyyy-MM-dd HH:mm:ss",height = 20, width = 38,importFormat = "yyyy-MM-dd HH:mm:ss")
    private Date createDate;

    private String videoImg;

    private String videoCover;

    private String videoIntroduce;

    private String status;

    private  String aaa;

    @TableField(exist = false)
    private String startDate;//开始时间
    @TableField(exist = false)
    private String endDate;//结束时间

    @TableField(exist = false)
    @Excel(name = "视频标签")
    private String videoNames;//查询集合

    @TableField(exist = false)
    private List<Long> labelIds;//新增多个id(新增修改)

    @TableField(exist = false)
    private String strLabel;//数据库角色编号(回显使用)


}